package com.sinoglobal.ningxia.beans;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XINDZ on 2017/2/8.
 * 功能:101接口 新闻板块实体类
 */

public class NewsSectionVo2 implements Serializable {
    @JSONField(name = "classid")

    /**
     * classid : 1
     * parentid : 0
     * level : 1
     * path :
     * class_name : 新闻中心
     * sort : 1
     * list : [{"classid":"18","parentid":"1","level":"2","path":"0,1,0","class_name":"新闻中心","sort":"1"}]
     * ischild : 1
     */

    private String classid;
    private String parentid;
    private String level;
    private String path;
    private String class_name;
    private String sort;
    private int ischild;
    private List<ListBean> list;

    public String getClassid() {
        return classid;
    }

    public void setClassid(String classid) {
        this.classid = classid;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public int getIschild() {
        return ischild;
    }

    public void setIschild(int ischild) {
        this.ischild = ischild;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * classid : 18
         * parentid : 1
         * level : 2
         * path : 0,1,0
         * class_name : 新闻中心
         * sort : 1
         */

        private String classid;
        private String parentid;
        private String level;
        private String path;
        private String class_name;
        private String sort;

        public String getClassid() {
            return classid;
        }

        public void setClassid(String classid) {
            this.classid = classid;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getClass_name() {
            return class_name;
        }

        public void setClass_name(String class_name) {
            this.class_name = class_name;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }
    }


    private NewsListVo2 newsListVo;

    public NewsListVo2 getNewsListVo() {
        return newsListVo;
    }

    public void setNewsListVo(NewsListVo2 newsListVo) {
        this.newsListVo = newsListVo;
    }
}
